
#ifndef STATESHOPANIMALDETAIL_H
#define STATESHOPANIMALDETAIL_H

#include "StateShopCommon.h"
#include "Singleton.h"
#include "RenderableEntity.h"
#include "TextEntity.h"
#include "TimeLineEffect.h"
#include "AchievementData.h"
#include "Container.h"

class StateShopAnimalDetail : public StateShopCommon, public Singleton<StateShopAnimalDetail>
{
private:
    int m_iBaby;
    
    RenderableEntity* m_oPassport;

    AnimatedEntity* m_oBaby[MAX_BABY_TYPES];
    
    TextEntity* m_oEats;
    AnimatedEntity* m_oFood[MAX_BABY_TYPES];

    TextEntity* m_oGives;
    RenderableEntity* m_oPrize[MAX_BABY_TYPES];
    
    TextEntity* m_oFoodText;
    TextEntity* m_oFoodValue;
    RenderableEntity* m_oFoodCoin;

    TextEntity* m_oPrizeText;
    TextEntity* m_oPrizeValue;
    RenderableEntity* m_oPrizeCoin;
    
public:
    
	StateShopAnimalDetail(){}
	~StateShopAnimalDetail(){}
    
    void loadContent();
	void unloadContent();
    
	void activated();
	void enter();
    void update(float dt);
    void updatePaused(float dt);
    void render();
    void exit();
    
    void setBackState();
    void setBaby(int _iBaby){ m_iBaby = _iBaby; }
};

#endif
